package com.lorizz.index.impl;

import com.lorizz.index.Action;
import com.lorizz.index.Item;

public class ItemImpl<T> implements Item<T> {
	
	private T target;
	private Action action;
	private String language;
	
	public ItemImpl(T target, Action action, String language) {
		this.target = target;
		this.action = action;
		this.language = language;
	}

	@Override
	public T getItem() {
		return target;
	}

	@Override
	public Action getAction() {
		return action;
	}

	@Override
	public String getLanguage() {
		return language;
	}

}
